<?php
namespace app\api\model;
use app\api\model\Common;
class Driver extends Common
{
    /**
     * 听单状态切换
    */
    public function changeStatus($driver_id=0,$status=3){
        return $this->save(['work_state' => $status],['driver_id' => $driver_id]);
    }

    public function setLocation($driver_id=0,$lon=0,$lat=0){

    }

}
